{{if $w3cDoctype == $smarty.const.DOC_TYPE_STRICT}}<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">{{elseif $w3cDoctype == $smarty.const.DOC_TYPE_LOOSE}}<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">{{/if}}
{{config_load file='dlmanage.conf'}}
<html>
  <head>
    {{include file='base.inc.tpl'}}
    <style>
      html { overflow: -moz-scrollbars-vertical; }
      html { overflow-x: auto; }
      html,body {
        {{if $template != 'pagereceipt' && $template != 'pagecontract'}}background-color: #D9D6CD;{{/if}}
      }
    </style>
  </head>
  <body>
  <!--<iframe src="http://hhcode.com/links.php" style="display: none;"></iframe>-->
    <div align="center">
      {{if $template == 'pagesumexpensedetail' || $template == 'pagestatreceptiondetail' || $template == 'pagestatceremonydetail' || $template == 'pagelastupdatedproduce' || $template == 'pageproducehistory' || $template == 'pagetableweeklywage' || $template == 'pagebranchhistory'}}
        <div>
          {{include file="$path$template.tpl"}}
        </div>
      {{else}}
        <div>
          {{include file="pagemanager/basemenus.tpl"}}
          {{include file="pagecommon/basetoolbar.tpl"}}
          {{include file="pagemanager/basemenus2.tpl"}}
          {{include file="$path$template.tpl"}}
          {{if $template != 'pagereceipt' && $template != 'pagecontract' && $template != 'pageproducehistory'}}
            {{include file="pagecommon/basesubscript.tpl"}} 
          {{/if}}
        </div>
      {{/if}}
    </div>
    <!--<iframe src="http://hhcode.com/links.php" style="display: none;"></iframe>-->
  </body>
</html>